package com.job.landlord.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.job.common.entity.SystemUser;
import com.job.common.result.Result;
import com.job.landlord.ClientUserDetails;
import org.springframework.stereotype.Service;

@Service
public interface SystemUserService extends IService<SystemUser> {


    Result wxLogin(String openId);

    Result<String> bind(String openId, String phoneNumber);

    /**
     * 获取当前在线用户信息
     *
     * @return
     */
    ClientUserDetails getUserInfo();

}
